<div class="form">

    <?php echo CHtml::beginForm(); ?>

    <p class="note">Fields with <span class="required">*</span> are required.</p>

    <?php echo CHtml::errorSummary($model); ?>
    <div class="row">
        <?php echo CHtml::activeLabelEx($model,'body'); ?>
        <?php echo CHtml::activeTextArea($model,'body',array('rows'=>6, 'cols'=>50)); ?>
        <?php echo CHtml::error($model,'body'); ?>
    </div>
    
    <div class="row buttons">
        <?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
    </div>

    <?php echo CHtml::endForm(); ?>

</div><!-- form -->